package com.app.common_app.service;

import com.app.common_app.entity.User;
import com.app.public_dependency.response.Result;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.http.server.reactive.ServerHttpResponse;

/**
 * @author zhangzy
 * @description 针对表【user】的数据库操作Service
 */
public interface UserService extends IService<User> {
    Result accountLogin(String username, String password, Boolean autoLogin, String cookie, ServerHttpResponse response);

    Result mobileLogin();

    Result fetchUserInfo(String cookie);

    Result loginOut(String cookie, ServerHttpResponse response);
}
